* cmds.c (Fnewline): Doc fix.
authorJim Blandy <jimb@redhat.com>
Tue, 2 Mar 1993 08:10:24 +0000 (08:10 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 2 Mar 1993 08:10:24 +0000 (08:10 +0000)
src/cmds.c

index de186a1050dde3a630874cdcf88b11ee634d2b83..8a6fb19535c7c99e70ad06241fba48d84bd016a1 100644 (file)
@@ -230,13 +230,14 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.")
   if (!NILP (current_buffer->read_only))
     Fsignal (Qbuffer_read_only, Qnil);
 
-  /* Inserting a newline at the end of a line
-     produces better redisplay in try_window_id
-     than inserting at the ebginning fo a line,
-     And the textual result is the same.
-     So if at beginning, pretend to be at the end.
-     Must avoid internal_self_insert in that case since point is wrong.
-     Luckily internal_self_insert's special features all do nothing in that case.  */
+  /* Inserting a newline at the end of a line produces better
+     redisplay in try_window_id than inserting at the ebginning fo a
+     line, and the textual result is the same.  So, if we're at
+     beginning of line, pretend to be at the end of the previous line.  
+
+     We can't use internal_self_insert in that case since it won't do
+     the insertion correctly.  Luckily, internal_self_insert's special
+     features all do nothing in that case.  */
 
   flag = point > BEGV && FETCH_CHAR (point - 1) == '\n';
   if (flag)